package com.tbit.main.pojo;

import java.util.List;

/**
 * 角色
 *
 * @author Leon
 * 2019年11月9日 下午2:07:53
 */
public class Account {
    /**
     * 账户id
     */
    private Integer accountId;
    /**
     * 用户类型（0：管理员；1：品牌；2:加盟商；3：运营区域）
     */
    private Integer type;
    /**
     * 父id
     */
    private Integer parentId;
    /**
     * 姓名
     */
    private String name;
    /**
     * 姓名
     */
    private String password;
    /**
     * 联系方式
     */
    private String phone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 添加时间
     */
    private String joinTime;
    /**
     * 更新时间
     */
    private String updateTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 分区
     */
    private List<GeoreGion> georeGion;

    public List<GeoreGion> getGeoreGion() {
        return georeGion;
    }

    public void setGeoreGion(List<GeoreGion> georeGion) {
        this.georeGion = georeGion;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(String joinTime) {
        this.joinTime = joinTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Account{" +
                "accountId=" + accountId +
                ", type=" + type +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", joinTime='" + joinTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", remark='" + remark + '\'' +
                ", georeGion=" + georeGion +
                '}';
    }
}
